package com.wonder.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_store_token")
@ApiModel()
@Setter
@Getter
public class StoreToken extends Model<StoreToken> {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "主键id")
    private Integer id;


    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(name = "type" )
    private String type;

    /**
     * 地址
     */
    @TableField(value = "url")
    @ApiModelProperty(name = "url",value = "地址")
    private String url;

    /**
     * 类型
     */
    @TableField(value = "dataCenter")
    @ApiModelProperty(name = "dataCenter",value = "formId")
    private String dataCenter;


    /**
     * 类型
     */
    @TableField(value = "account")
    @ApiModelProperty(name = "account",value = "用户名")
    private String account;

    /**
     * 类型
     */
    @TableField(value = "password")
    @ApiModelProperty(name = "password",value = "密码")
    private String password;

    /**
     * 类型
     */
    @TableField(value = "lang")
    @ApiModelProperty(name = "lang",value = "语言")
    private Integer lang;
}
